package com.zhou.controller.admin;

import com.zhou.Properties.JwtProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
// 邹
@RestController
@RequestMapping("/admin/test")
@Slf4j
public class Test {

    int i = 0;

    @Autowired
    private JwtProperties jwtProperties;

    @GetMapping
    public String test(){
        int n =1/0;
        i++;
        System.out.println(i);
//        System.out.println(jwtProperties);
        return "第"+i+"个人测试成功";
    }
}
